# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
  def get_small_buttons_container_width(small_buttons)
    small_buttons.length * 127
  end

  def get_large_buttons_container_width(large_buttons)
    large_buttons.length * 195
  end
	
	def path_for_vail(vail)
	  vail_in_category_path(vail.categories.find(:first).menu_name, vail)
	end
end